package utils;
public class ErrorInfo {

	public String msg;
	public int code;

	public ErrorInfo() {
		this.code = 0;
		this.msg = "";
	}

	public ErrorInfo(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}
	
	public void clear() {
		this.code = 0;
		this.msg = "";
	}

	public void initSave(){
		this.code=1;
		this.msg = "提交成功";
	}
}
